package com.spring.depends_on_demo;

import com.spring.collectiondemo.ComplexObject;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.core.env.PropertySource;
import org.springframework.core.env.PropertySources;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

/**
 * 依赖：spring-depends-on.xml
 *
 * 结果：
 *      1. <bean id="beanOne" class="com.spring.depends_on_demo.ExampleBean" />
 *      若不添加:depends-on 则输出为：example...  manage...
 *      2.<bean id="beanOne" class="com.spring.depends_on_demo.ExampleBean" depends-on="manager"/>
        添加后输出：  manage...example...
 *
 */
public class Apps {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");

	}
}
